<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo (C("SYS_TITLE")); ?></title>
<link href="/wwyl/Public/Admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="/wwyl/Public/Admin/css/page.css" rel="stylesheet" type="text/css" />
<style>
.file {width:102px;height:34px;opacity:0;filter:alpha(opacity=0);cursor:pointer;}
<!--权限样式-->
#wrap a{text-decoration:none; color:#000;}
#wrap a:hover{ color:#CCC;}
#wrap{ width:94%; height:auto; overflow:hidden; margin:20px auto; padding:10px 20px; border:1px solid #ccc;}
#wrap .add-app{ display:block; width:100px; height:20px; line-height:20px; text-align:center; background:#670768; color:#fff; border-radius:4px;}
#wrap .app{ padding:5px; border:1px solid #f6f6f6; border-radius:4px; width:1000px;}
#wrap .app p{ height:20px; line-height:20px;}
#wrap .app p strong{ font-size:20px; color:#0b99d8}
#wrap .app dl{ margin:10px 0; border:1px solid #f6f6f6; height:auto; overflow:hidden;border-radius:4px;}
#wrap .app dl dt{ display:block; height:25px; line-height:25px; background:#e6e6fa; text-indent:25px;}
#wrap .app dl dt strong{ font-size:14px; color:#61a1fa;}
#wrap .app dl dd{ margin:5px; display:block; height:18px;; width:185px; line-height:18px; text-align:left;  float:left; font-size:16px;} 
</style>

<!--编辑器-->
<script type="text/javascript" src="/wwyl/Public/Admin/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/wwyl/Public/Admin/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/wwyl/Public/Admin/ueditor/ueditor.all.min.js"></script>

<!---->
<script language="JavaScript" src="/wwyl/Public/Admin/js/jquery.js"></script>
<script type="text/javascript">
	$(function(){	
		//顶部导航切换
		$(".nav li a").click(function(){
			$(".nav li a.selected").removeClass("selected")
			$(this).addClass("selected");
		})	
	})	
	
	$(function(){	
		//导航切换
		$(".menuson li").click(function(){
			$(".menuson li.active").removeClass("active")
			$(this).addClass("active");
		});
		
		$('.title').click(function(){
			var $ul = $(this).next('ul');
			$('dd').find('ul').slideUp();
			if($ul.is(':visible')){
				$(this).next('ul').slideUp();
			}else{
				$(this).next('ul').slideDown();
			}
		});
	})	
	
	$(document).ready(function(){
	  $(".click").click(function(){
	  $(".tip").fadeIn(200);
	  });
	  
	  $(".tiptop a").click(function(){
	  $(".tip").fadeOut(200);
	});
	
	  $(".sure").click(function(){
	  $(".tip").fadeOut(100);
	});
	
	  $(".cancel").click(function(){
	  $(".tip").fadeOut(100);
	});
	
	});
	
	//tabl 切换
	$(document).ready(function(e) {
		$('#sel li').click(function(){
			$(".tab-front").removeClass("tab-front").addClass("tab-back");
			$('#sel li a').removeClass();	
			$(this).find('a').attr('class','selected');
			$(this).removeClass("tab-back").addClass("tab-front");
			var i = $(this).index();
			$(".tabbody-div").hide();
			$(".tabbody-div").eq(i).show();
		});
	});
</script>

</head>

<meta charset=utf8>
<body style="background:#f0f9fd;">
<dl class="leftmenu">
<!---->
  <dd <?php if( true != checkAuth(3)){ echo 'style="display:none;"';} ?> >
    <div class="title"> <span><img src="/wwyl/Public/Admin/images/leftico02.png" /> </span>用户管理 </div>
    <ul class="menuson">
    
      <div <?php if( true != checkAuth(5)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Member/index');?>" target="rightFrame">用户列表</a><i></i></li></div>
      
    </ul>
  </dd>
  
  <dd <?php if( true != checkAuth(4)){ echo 'style="display:none;"';} ?> >
    <div class="title"> <span><img src="/wwyl/Public/Admin/images/leftico04.png" /> </span>权限管理 </div>
    <ul class="menuson">
    
      <div <?php if( true != checkAuth(12)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Rbac/role');?>" target="rightFrame">角色列表</a><i></i></li></div>
        
      <div <?php if( true != checkAuth(18)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Rbac/node');?>" target="rightFrame">节点列表</a><i></i></li></div>
      
    </ul>
  </dd>
  
  <dd <?php if( true != checkAuth('25,33')){ echo 'style="display:none;"';} ?> >
    <div class="title"> <span><img src="/wwyl/Public/Admin/images/leftico01.png" /> </span>文章管理 </div>
    <ul class="menuson">
      
      
      <div <?php if( true != checkAuth(26)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Category/index');?>" target="rightFrame">分类列表</a><i></i></li></div>
      
      <div <?php if( true != checkAuth(34)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Article/index');?>" target="rightFrame">文章列表</a><i></i></li></div>
        
      <div <?php if( true != checkAuth(40)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Article/back');?>" target="rightFrame">回收站</a><i></i></li></div>
        
    </ul>
  </dd>

  
  <dd <?php if( true != checkAuth('43,49,57,60')){ echo 'style="display:none;"';} ?> >
	<div class="title"> <span><img src="/wwyl/Public/Admin/images/leftico03.png" /> </span>系统管理 </div>
    <ul class="menuson">
      <div  <?php if( true != checkAuth(44)){ echo 'style="display:none;"';} ?>  >
      <li><cite></cite><a href="<?php echo U('Banner/index');?>" target="rightFrame">轮播图片</a><i></i></li></div>
      
      <div  <?php if( true != checkAuth(50)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Link/index');?>" target="rightFrame">友情链接</a><i></i></li></div>
      
      <div  <?php if( true != checkAuth(58)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Sys/index');?>" target="rightFrame">基本配置</a><i></i></li></div>
      
      <div  <?php if( true != checkAuth(61)){ echo 'style="display:none;"';} ?>>
      <li><cite></cite><a href="<?php echo U('Message/index');?>" target="rightFrame">留言</a><i></i></li></div>
    </ul>
  </dd>

  <dd <?php if( true != checkAuth(71)){ echo 'style="display:none;"';} ?> >
    <div class="title"> <span><img src="/wwyl/Public/Admin/images/leftico01.png" /> </span>
    商品管理 </div>
    <ul class="menuson">
      
      
      <div <?php if( true != checkAuth(72)){ echo 'style="display:none;"';} ?> >
      <li><cite></cite><a href="<?php echo U('Goods/index');?>" target="rightFrame">商品列表</a><i></i></li></div>
      
     
        
    </ul>
  </dd>
</dl>
</body>
</html>